 |
 |
 |
 |
#146988 - 09/06/01 06:05 PM
[6.1x] UBB File Compression PB 2
|
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
|
What :: UBB Compression with cgi_buffer.pm Version :: 6.1.0 PB 2 Info :: As promised in the recent U-zine article. Now you can dramatically reduce bandwidth and download times with an easy to use perl module. Demo :: http://www.ubbdev.com/ubbcgi/ultimatebb.cgi Credits :: WiLD for pointing it out to us Files :: http://ubbdev.com/hacks/6.1/Compress.zip How To :: Open ultimatebb.cgi, uncomment use strict; and use vars etc etc (lines #30 and #35) and add this: require Modules::Compress::cgi_buffer; import Compress::cgi_buffer $cgi_buffer::generate_etag = 0;
immediately before your use strict; so that it looks like this: require Modules::Compress::cgi_buffer; import Compress::cgi_buffer $cgi_buffer::generate_etag = 0; use strict; use Fcntl ':flock'; use UBBCGI qw(:cgi); use UBBCGI::Carp qw(fatalsToBrowser set_message); use vars qw(%etc etc That should be all you need to do, tho you may want to clear cache...  [ 09-16-2001: Message edited by: AllenAyres ]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147007 - 09/08/01 05:10 AM
Re: [6.1x] UBB File Compression PB 2
|
Member
Registered: 06/06/01
Posts: 102
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147013 - 09/08/01 08:48 PM
Re: [6.1x] UBB File Compression PB 2
|
Junior Member
Registered: 04/17/01
Posts: 4
Loc: Canada
|
Here's an idea for anyone who wants to try it and doesn't have root access to the server to install it. You can create a directory in your 'Modules' directory called (lets just say) 'CGIBuffer' then copy the cgi_buffer.pm into that directory. You can then use this code to use the cgi_buffer module: I have not tested if it is actually compressing yet but there does seem to be an increase in speed when that code is used. Let me know if it does not work and I will remove my post. Thanks, GewGaw [ September 08, 2001: Message edited by: GewGaw ]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147032 - 09/17/01 05:03 AM
Re: [6.1x] UBB File Compression PB 2
|
Junior Member
Registered: 09/17/01
Posts: 19
Loc: Behind my PC
|
Hello people, I use ubb 6.05, and I also noticed this "hack" would work for a 6.05 board. I downloaded the compress-zip file and I read your comments on the first page, but I don't understand it: What do you mean with etc etc? I'm sorry for asking, but I just want to make my board load faster. It's on an Unix machine. My code looks like: in the ultimatebb.cgi file. Some additional info would be very nice. Or give me a little hint in the right direction. 
_________________________
What can I say? My work is just tres excellent! [UBB Novice]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147033 - 09/17/01 05:06 AM
Re: [6.1x] UBB File Compression PB 2
|
Junior Member
Registered: 09/17/01
Posts: 19
Loc: Behind my PC
|
Nevermind... I think I understand it now... I only need to add: require Modules::Compress::cgi_buffer; import Compress::cgi_buffer $cgi_buffer::generate_etag = 0; Probably after line #35 right? Before or after the vars? Thanks & sorry for asking newbie-stuff... 
_________________________
What can I say? My work is just tres excellent! [UBB Novice]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147034 - 09/17/01 05:16 AM
Re: [6.1x] UBB File Compression PB 2
|
Junior Member
Registered: 09/17/01
Posts: 19
Loc: Behind my PC
|
Here I am again... Think I did something wrong!? Look at this: I did this right did I? I get the following error: What did I do wrong? Using UBB 6.05
_________________________
What can I say? My work is just tres excellent! [UBB Novice]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147039 - 09/17/01 02:06 PM
Re: [6.1x] UBB File Compression PB 2
|
Junior Member
Registered: 09/17/01
Posts: 19
Loc: Behind my PC
|
I will try again of course, maybe I did something wrong. I'm going to install it the way WiLD explained, maybe that helps. In any case, I used a perldiver like Qasic said, and came up with the following info: *Perl Version: 5.00503 *Apache/1.3.19 (Unix) mod_perl/1.25 PHP/4.0.6 mod_auth_pam/1.0a mod_ssl/2.8.1 OpenSSL/0.9.6a *A lot of modules installed!!
In any case like Qasic said, there wasn't a module installed called: Compress::Zlib or anything likewise.  If I read Qasics remarks correctly, I should download the Activestate stuff? And install it on my webaccount? I will try to get those files from here: http://aspn.activestate.com/ASPN/Reference/Products/ASPNTOC-ACTIVEPERL-004 http://aspn.activestate.com/ASPN/Reference/Products/ActivePerl/lib/IO.html Those where the links Alan posted. Alan: if your interested I can make you an account on a "old" RAQ3, you can use it how long you want to test it. The server is located in Holland and has nice internet speeds. So if your interested let me know. But of course please don't put warez/mp3/adult on it. Cause my other clients won't like that. 
_________________________
What can I say? My work is just tres excellent! [UBB Novice]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147040 - 09/17/01 02:22 PM
Re: [6.1x] UBB File Compression PB 2
|
Junior Member
Registered: 09/17/01
Posts: 19
Loc: Behind my PC
|
Okay listen up please: I found the following: ActivePerl 5.6.1.629 AS Package 9 megabyte file (ugh) Also it says: Does that mean I can install it without using my admin access to the main route, cause since this is only neccesary for the forum I rather not temper with the server settings. Second I'm on ISDN at home, meaning slow upload and download speeds, so I rather be sure then just wasting my time on down-/uploading a 9 mb file. I hope you can use this information.
_________________________
What can I say? My work is just tres excellent! [UBB Novice]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147042 - 09/17/01 07:39 PM
Re: [6.1x] UBB File Compression PB 2
|
Developer
Registered: 01/01/01
Posts: 1930
Loc: Surrey, BC, Canada
|
Excellent: From PerlDiver it looks as if you have a UNIX server so you can't use the Windows installer - you need the RPMs that work on your flavour of *nix. Better yet, get your server tech to do tha for you (install Compress::Zib). Raiyan: Install PerlDiver from http://www.scriptsolutions.com/ and give us a URL so we may examine what modulse you run. qasic [ 09-17-2001: Message edited by: qasic ]
_________________________
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147043 - 09/17/01 09:44 PM
Re: [6.1x] UBB File Compression PB 2
|
Moderator
Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147049 - 09/22/01 11:25 AM
Re: [6.1x] UBB File Compression PB 2
|
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147061 - 09/28/01 09:58 PM
Re: [6.1x] UBB File Compression PB 2
|
Member
Registered: 09/29/00
Posts: 80
Loc: Morris, MN, USA
|
Same thing Allen... package 'vars' not registered for warnings.. etc. etc... then the Autoloader.pm line 4 comment... I have IO::String, MD5, and Compress::Zlib installed, but I still get that failed warning. I am on my own server so I would not have an issue installing mod_gzip, what is required to activate that program with UBB- perhaps that one would work for me... *edit* Tried to install mod_gzip, but thanks to the sparse documentation it was a unsure install- and afterward the server 'appeared' offline. So I'd like to get this one working..  [ 09-28-2001: Message edited by: jlaine ]
_________________________
My Site The only difference between a fool and an eccentric are your beliefs in their ideas.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147069 - 09/30/01 08:16 PM
Re: [6.1x] UBB File Compression PB 2
|
Member
Registered: 06/02/01
Posts: 285
Loc: Florida
|
ok I got the files in place I think in the compress folder, now it only gives me this error:
Software error: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. Compilation failed in require. For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: Compilation failed in require. Compilation failed in require. For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: Compilation failed in require. [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: Compilation failed in require. Compilation failed in require at Modules/MD5.pm line 22. For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: Compilation failed in require. [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: Compilation failed in require. [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: Compilation failed in require at Modules/MD5.pm line 22. BEGIN failed--compilation aborted at Modules/Compress/cgi_buffer.pm line 22. For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: Compilation failed in require. [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: Compilation failed in require. [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: Compilation failed in require at Modules/MD5.pm line 22. [Sun Sep 30 21:16:57 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/Compress/cgi_buffer.pm line 22. Compilation failed in require.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147073 - 09/30/01 08:35 PM
Re: [6.1x] UBB File Compression PB 2
|
Member
Registered: 06/02/01
Posts: 285
Loc: Florida
|
yet it persists: Software error: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. Compilation failed in require. For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: Compilation failed in require. Compilation failed in require. For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: Compilation failed in require. [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: Compilation failed in require. Compilation failed in require at Modules/Digest/MD5.pm line 22. For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: Compilation failed in require. [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: Compilation failed in require. [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: Compilation failed in require at Modules/Digest/MD5.pm line 22. BEGIN failed--compilation aborted at Modules/Compress/cgi_buffer.pm line 22. For help, please send mail to the webmaster (Your Webmaster), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: Compilation failed in require. [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: Compilation failed in require. [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: Compilation failed in require at Modules/Digest/MD5.pm line 22. [Sun Sep 30 21:35:55 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/Compress/cgi_buffer.pm line 22. Compilation failed in require.
omg, I'm started to get tired of copy and pasting for the first time. no it didn't work, no changes in the error message I think.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147080 - 10/01/01 05:49 AM
Re: [6.1x] UBB File Compression PB 2
|
Member
Registered: 03/11/01
Posts: 314
|
Well I've installed the cgi_buffer files and such to every possible DIR so that no matter where the system looks it should find what it needs. Despite this I now get what 'Excellent' was seeing before he gave up, a very basic single line COMPILATION error for the ultimatebb.cgi file - no other details. My settings are as follows: Please note that I've also tried 'use cgi_buffer;' and that just caused an 'Internal Server Error'. PerlDiver reports that all the needed stuff is installed, although nobody will answer my previous question about what IO::Stringy is? I don't have IO::String, just Stringy? Is this the same? Should I update paths to reflect the 'y' on the end? What do I do. Aside from that I'm stuck, all instructions followed and previous CHMOD's and dir structures obeyed. The fact it's just a basic compilation error means I'm one step away, but where now? PS"6.04e"
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147081 - 10/01/01 06:40 AM
Re: [6.1x] UBB File Compression PB 2
|
Member
Registered: 06/06/01
Posts: 102
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147088 - 10/01/01 03:01 PM
Re: [6.1x] UBB File Compression PB 2
|
Member
Registered: 09/29/00
Posts: 80
Loc: Morris, MN, USA
|
Still getting the same errors on my end... <huge list>
Software error: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 For help, please send mail to the webmaster (jlaine@info-link.net), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. For help, please send mail to the webmaster (jlaine@info-link.net), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. Compilation failed in require. For help, please send mail to the webmaster (jlaine@info-link.net), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. Compilation failed in require. For help, please send mail to the webmaster (jlaine@info-link.net), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. Compilation failed in require. For help, please send mail to the webmaster (jlaine@info-link.net), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. Compilation failed in require at /usr/local/share/perl/5.6.0/MD5.pm line 22. For help, please send mail to the webmaster (jlaine@info-link.net), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require at /usr/local/share/perl/5.6.0/MD5.pm line 22. BEGIN failed--compilation aborted at Modules/Compress/cgi_buffer.pm line 22. For help, please send mail to the webmaster (jlaine@info-link.net), giving this error message and the time and date of the error. Content-type: text/html
Software error: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: package 'vars' not registered for warnings at Modules/AutoLoader.pm line 4 [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/AutoLoader.pm line 4. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: Compilation failed in require at /usr/local/share/perl/5.6.0/MD5.pm line 22. [Tue Oct 2 00:01:35 2001] ultimatebb.cgi: BEGIN failed--compilation aborted at Modules/Compress/cgi_buffer.pm line 22. Compilation failed in require. For help, please send mail to the webmaster (jlaine@info-link.net), giving this error message and the time and date of the error.
_________________________
My Site The only difference between a fool and an eccentric are your beliefs in their ideas.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147094 - 10/01/01 06:50 PM
Re: [6.1x] UBB File Compression PB 2
|
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
|
hmiguelito  I think you are irritating the others who haven't got it working on one version yet tele, upload the files in the zip into their respective folders in the Modules directory. Modules/Compress Modules/IO Modules/Digest Modules/Digest/Perl In ultimatebb.cgi uncomment "use strict;" and "use vars" and add these lines to it so that it looks like this: require Modules::Compress::cgi_buffer; import Compress::cgi_buffer $cgi_buffer::generate_etag = 0; use strict; use Fcntl ':flock'; use UBBCGI qw(:cgi); use UBBCGI::Carp qw(fatalsToBrowser set_message); use vars If it doesn't work after this, it is possible you still don't have all the modules installed, or you have them in binary, or you have permissions set to where they can't be read.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147097 - 10/01/01 07:07 PM
Re: [6.1x] UBB File Compression PB 2
|
Member
Registered: 06/06/01
Posts: 102
|
oops sorry this is what it looks like at my server: /cgi-bin/Modules/Compress/cgi_buffer.pm /cgi-bin/Modules/Digest/HMAC.pm /cgi-bin/Modules/Digest/HMAC_MD5.pm /cgi-bin/Modules/Digest/HMAC_SHA1.pm /cgi-bin/Modules/Digest/MD2.pm /cgi-bin/Modules/Digest/MD5.pm /cgi-bin/Modules/Digest/SHA1.pm. /cgi-bin/Modules/Digest/Perl/MD5.pm /cgi-bin/Modules/IO/String.pm /cgi-bin/Modules/MIME/Lite.pm /cgi-bin/Modules/Net/Cmd.pm /cgi-bin/Modules/Net/Config.pm /cgi-bin/Modules/SMTP.pm /cgi-bin/Modules/UBBCGI/Carp.pm /cgi-bin/Modules/UBBCGI/Cookie.pm [ 10-01-2001: Message edited by: hmiguelito ]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147143 - 12/08/01 01:21 AM
Re: [6.1x] UBB File Compression PB 2
|
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
|
OK. it has been installed on the test board without problems... http://www.ubbdev.com/test/ubbcgi/ultimatebb.cgi I put the code: require Modules::Compress::cgi_buffer; import Compress::cgi_buffer $cgi_buffer::generate_etag = 0; immediately above this: BEGIN { # get our modules directory set up Uploaded the modules we included with the zip, and we're off! <img src="smile.gif" border="0" alt="" /> To test it, check the properties of any .cgi page there except the forum summary (it doesn't work there for some reason). I may install it here as it seems to work fine with the accelerator.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#147150 - 03/24/02 11:56 PM
Re: [6.1x] UBB File Compression PB 2
|
Content Queen
Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
|
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by AllenAyres: OK. it has been installed on the test board without problems...
http://www.ubbdev.com/test/ubbcgi/ultimatebb.cgi
I put the code:
require Modules::Compress::cgi_buffer; import Compress::cgi_buffer $cgi_buffer::generate_etag = 0;
immediately above this:
BEGIN { # get our modules directory set up
Uploaded the modules we included with the zip, and we're off! To test it, check the properties of any .cgi page there except the forum summary (it doesn't work there for some reason). I may install it here as it seems to work fine with the accelerator.</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Okay ... I have two stooooooopid questions 1. Where Allen say to place the code in this example is different from the first post in this thread; should the code go above the begin or the use strict? 2. Where do I load those files from the zip? Or do I just upload the entire file called "Compress"? Hey, I said they were stoooooopid questions! Okay, I decided to test it on my test site, and no matter where I put the code, I get errors galore when I try to run the board. I installed the perldiver file; it seems as if I have that one compressed file--Compress::Zlib (I am absolutely clueless about this stuff--even moreso than with the UBB code--if that's possible!  ) Here's that link --> http://adwoff.com/cgi-bin/perldiver.cgi I left the test board open with all the error messages there in their glory! It's at http://adwoff.com/ubb-test/cgi/ultimatebb.cgi Any idea of what I need to do--or maybe I should ask first--can I need to do what needs to be done? As always, thanks a ton!
_________________________
Sue adwoff.com
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|